package com.zenith.yasoo.setup;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;


@Entity
@Table(name="contact_mech_telcom_num")
public class TelcomNumber extends ContactMech {
	private static final long serialVersionUID = 1L;
	
	public TelcomNumber(){setContactMechType(new ContactMechType(ContactMechType.TYPE_TELCOM_NUMBER));}
	
	private String countryCode;
	private String areaCode;
	private String contactNumber;
	private String askForName;

	/*------------------------------
	 * getters and annotations
	 --------------------------------*/
	@Column(length=10)
	public String getCountryCode() {return countryCode;}
	@Column(length=10)
	public String getAreaCode() {return areaCode;}
	@Column(length=60)
	public String getContactNumber() {return contactNumber;}
	@Column(length=100)
	public String getAskForName() {return askForName;}
	
	
	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}
	public void setContactNumber(String contactNumber) {
		this.contactNumber = contactNumber;
	}
	public void setAskForName(String askForName) {
		this.askForName = askForName;
	}
}
